package com.ruoyi.trainingManagement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 培养方案课程列表对象 class_schedule
 * 
 * @author chenxl
 * @date 2025-05-12
 */
public class ClassSchedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

//    /** 开课id */
   // private String id;

    /** 培养方案id */
    @Excel(name = "培养方案id")
    private String trainingProgramId;

    /** 选课id */
    @Excel(name = "选课id")
    private String curriculaVariableId;

    /** 开课班数 */
    @Excel(name = "开课班数")
    private Long numberOfClassesOpen;

    /** 开班人数 */
    @Excel(name = "开班人数")
    private Long classAttendance;

    /** 课程id */
    @Excel(name = "课程id")
    private Long courseId;

    /** 开课状态 */
    @Excel(name = "开课状态")
    private Long classStatus;

    /** 是否需要选课 */
    @Excel(name = "是否需要选课")
    private Long electiveSystem;

    /**年级*/
    @Excel(name = "年级")
    private Long grade;

    public Long getGrade() {
        return grade;
    }

    public void setGrade(Long grade) {
        this.grade = grade;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setTrainingProgramId(String trainingProgramId) 
    {
        this.trainingProgramId = trainingProgramId;
    }

    public String getTrainingProgramId() 
    {
        return trainingProgramId;
    }

    public void setCurriculaVariableId(String curriculaVariableId) 
    {
        this.curriculaVariableId = curriculaVariableId;
    }

    public String getCurriculaVariableId() 
    {
        return curriculaVariableId;
    }

    public void setNumberOfClassesOpen(Long numberOfClassesOpen) 
    {
        this.numberOfClassesOpen = numberOfClassesOpen;
    }

    public Long getNumberOfClassesOpen() 
    {
        return numberOfClassesOpen;
    }

    public void setClassAttendance(Long classAttendance) 
    {
        this.classAttendance = classAttendance;
    }

    public Long getClassAttendance() 
    {
        return classAttendance;
    }

    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }

    public void setClassStatus(Long classStatus) 
    {
        this.classStatus = classStatus;
    }

    public Long getClassStatus() 
    {
        return classStatus;
    }

    public void setElectiveSystem(Long electiveSystem) 
    {
        this.electiveSystem = electiveSystem;
    }

    public Long getElectiveSystem() 
    {
        return electiveSystem;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("trainingProgramId", getTrainingProgramId())
            .append("curriculaVariableId", getCurriculaVariableId())
            .append("numberOfClassesOpen", getNumberOfClassesOpen())
            .append("classAttendance", getClassAttendance())
            .append("courseId", getCourseId())
            .append("classStatus", getClassStatus())
            .append("electiveSystem", getElectiveSystem())
            .append("grade",  getGrade())
            .toString();
    }
}
